package com.xbongbong.pro.businesstage.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

/**
 * 阶段启用
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/13 19:35
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class StageEnableDTO extends BaseDTO {
    /**
     * 阶段id
     */
    private Long id;
    /**
     * 是否启用
     */
    @Range(min = 0, max = 1, message = "{dto.msg.stageEnable.enable.Range}")
    private Integer enable;
    /**
     * 业务类型
     */
    private Integer businessType;
}
